<?php
return array(
	/* 设备状态 */
	'device_status'=>array(
		0=>'故障',
		1=>'空闲',
		2=>'运行中',
	),

	/* 订单状态 */
	'order_status'=>array(
		0=>'待处理',
		1=>'处理中',
		2=>'完成',
	),

	/* 游戏状态 */
	'game_status'=>array(
		0=>'登陆中',
		1=>'运行中',
		2=>'暂停中',
		3=>'结束'
	),

	/* 系统ID配置 
	 * 值对应数据表 数据ID
	*/
	'sysconfig'=>array(
		'payment'=>1,//扣费设置
		'stock'=>2,//库存设置 普通设备上限配置和保留空闲配置 json键值对配置
		'other'=>3,//其他设置 注册赠送金额，奖励金额比例
		'msg'=>4,//系统消息
		'version'=>5,//版本控制
		'tribe'=>6,//部落设置  最大成员数和最大副首领数量
		'register'=>7,//注册赠送金额
	),

	/*奖励类型 0被邀请者充值 奖励奖励币，1充值奖励奖杯，2抽奖获取奖励奖杯，3每日部落领奖云币*/
	'aw_type'=>array(
		0=>'被邀请者充值奖励奖励币',
		1=>'充值奖励奖杯',
		2=>'抽奖获取奖励奖杯',
		3=>'每日部落领奖云币',
	),

	//'配置项'=>'配置值'
	'leftMenux'=>array(
		array(
			'pid'=>'10','name'=>'基本管理','icon'=>'cog',
			'children'=>array(
				array('pid'=>'1001','name'=>'用户管理','is_menu'=>true,'href'=>'User/data_list','params'=>array(),'icon'=>'university'),
				array('pid'=>'1005','name'=>'设备管理','is_menu'=>true,'href'=>'Device/data_list','params'=>array(),'icon'=>'file-text-o'),
				array('pid'=>'1005','name'=>'订单管理','is_menu'=>true,'href'=>'Order/data_list','params'=>array(),'icon'=>'file-text-o'),
				array('pid'=>'1005','name'=>'订单参数设置','is_menu'=>true,'href'=>'Parameter/data_list','params'=>array(),'icon'=>'file-text-o'),
				array('pid'=>'1001','name'=>'奖励日志','is_menu'=>true,'href'=>'User/awardLog_list','params'=>array(),'icon'=>'university'),
			),
		),
		array(
			'pid'=>'10','name'=>'系统管理','icon'=>'cog',
			'children'=>array(
				/*array('pid'=>'1001','name'=>'统计','is_menu'=>true,'href'=>'','params'=>array(),'icon'=>'university'),*/
				array('pid'=>'1004','name'=>'充值卡管理','is_menu'=>true,'href'=>'PrepaidCard/data_list','params'=>array(),'icon'=>'male'),
				array('pid'=>'1005','name'=>'版本设置','is_menu'=>true,'href'=>'Version/data_list','params'=>array(),'icon'=>'file-text-o'),
				array('pid'=>'1001','name'=>'推送设置','is_menu'=>true,'href'=>'SystemConfig/operation','params'=>array('sysconfig_type'=>'msg'),'icon'=>'university'),
				array('pid'=>'1002','name'=>'扣费设置','is_menu'=>true,'href'=>'SystemConfig/operation','params'=>array('sysconfig_type'=>'payment'),'icon'=>'sitemap'),
				array('pid'=>'1003','name'=>'库存设置','is_menu'=>true,'href'=>'SystemConfig/operation','params'=>array('sysconfig_type'=>'stock'),'icon'=>'group'),
				array('pid'=>'1001','name'=>'充值设置','is_menu'=>true,'href'=>'SystemConfig/operation','params'=>array('sysconfig_type'=>'other'),'icon'=>'university'),
				array('pid'=>'1001','name'=>'版本控制','is_menu'=>true,'href'=>'SystemConfig/operation','params'=>array('sysconfig_type'=>'version'),'icon'=>'university'),
				array('pid'=>'1001','name'=>'部落设置','is_menu'=>true,'href'=>'SystemConfig/operation','params'=>array('sysconfig_type'=>'tribe'),'icon'=>'university'),
				array('pid'=>'1001','name'=>'注册设置','is_menu'=>true,'href'=>'SystemConfig/operation','params'=>array('sysconfig_type'=>'register'),'icon'=>'university'),

			),
		),
		array(
			'pid'=>'10','name'=>'部落管理','icon'=>'cog',
			'children'=>array(
				array('pid'=>'1011','name'=>'等级管理','is_menu'=>true,'href'=>'TribeLevel/data_list','params'=>array(),'icon'=>'university'),
				array('pid'=>'1005','name'=>'部落列表','is_menu'=>true,'href'=>'Tribe/data_list','params'=>array(),'icon'=>'file-text-o'),
			),
		),
	),
);